#include<iostream>
#include<cmath>
using namespace std;
int main(){
  cout.precision(2);
  cout<<fixed;
  int l=343720*2,r=233333*2,x=15,y=17;
  for(int t=1;;t++){
    if(x*t%l==0&&y*t%r==0){
      cout<<hypot(x*t,y*t);
      break;
    }
  }
} 